package vip.zhenzicheng.algorithm;

/**
 * 单链表结构的通用表示
 *
 * @author zhenzicheng
 * @date: 2022-06-02 10:47
 */
public class ListNode {
  public int val;
  public ListNode next;

  public ListNode(int val) {
    this.val = val;
    this.next = null;
  }

  public ListNode(int val, ListNode next) {
    this.val = val;
    this.next = next;
  }
}
